package org.sacgtug.location.service;

import java.util.ArrayList;
import java.util.List;

public class Location {

	int id;
	double latitude;
	double longitude;
	List<Artifact> artifacts = new ArrayList<Artifact>();
	
	public Location(int id, double latitude, double longitued, Artifact artifact) {
		this.id = id;
		this.latitude = latitude;
		this.longitude = longitued;
		artifacts.add(artifact);
	}
	
	public int getId() {
		return id;
	}
	public void setId(int id) {
		this.id = id;
	}
	public double getLatitude() {
		return latitude;
	}
	public void setLatitude(double latitude) {
		this.latitude = latitude;
	}
	public double getLongitude() {
		return longitude;
	}
	public void setLongitude(double longitude) {
		this.longitude = longitude;
	}
	public List<Artifact> getArtifacts() {
		return artifacts;
	}
	public void setArtifacts(List<Artifact> artifacts) {
		this.artifacts = artifacts;
	}
}
